package com.sharding.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sharding.entity.UserDTO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author: LCG
 * @date: 2022-11-09 16:09:20
 * @description:
 **/
@Repository
@Mapper
public interface TestUserDao extends BaseMapper<UserDTO>{

    @Insert("insert into lcg_user(userName,loginName,buMen,path,sex,createTime) values(#{userName},#{loginName},#{buMen},#{path},#{sex},#{createTime})")
    int addOne(UserDTO userDTO);

}
